package com.tim.app.server.result;

import java.util.List;

/**
 * Created by wdy on 2017/8/23.
 */

public class IncomeDetailBean {

    /**
     * code : 10000
     * message : success
     * total : 2
     * res : {"arraylist":{"pageSize":10,"shownumwidth":5,"totalCount":2,"totalPageCount":1,"currentPageNo":1,"nextPage":false,"previousPage":false,"showNumList":[1],"result":[{"id":4,"userId":1000539,"recoreTime":1503479406000,"dataType":"reduce","agoCount":99600,"afterCount":99500,"changeCount":100,"operationType":"convert","createTime":1503479406000,"updateTime":1503484719000,"deleted":0},{"id":3,"userId":1000539,"recoreTime":1503478643000,"dataType":"reduce","agoCount":99700,"afterCount":99600,"changeCount":100,"operationType":"convert","createTime":1503478643000,"updateTime":1503484716000,"deleted":0}]}}
     */

    private String code;
    private String message;
    private int total;
    private ResBean res;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public ResBean getRes() {
        return res;
    }

    public void setRes(ResBean res) {
        this.res = res;
    }

    public static class ResBean {
        /**
         * arraylist : {"pageSize":10,"shownumwidth":5,"totalCount":2,"totalPageCount":1,"currentPageNo":1,"nextPage":false,"previousPage":false,"showNumList":[1],"result":[{"id":4,"userId":1000539,"recoreTime":1503479406000,"dataType":"reduce","agoCount":99600,"afterCount":99500,"changeCount":100,"operationType":"convert","createTime":1503479406000,"updateTime":1503484719000,"deleted":0},{"id":3,"userId":1000539,"recoreTime":1503478643000,"dataType":"reduce","agoCount":99700,"afterCount":99600,"changeCount":100,"operationType":"convert","createTime":1503478643000,"updateTime":1503484716000,"deleted":0}]}
         */

        private ArraylistBean arraylist;

        public ArraylistBean getArraylist() {
            return arraylist;
        }

        public void setArraylist(ArraylistBean arraylist) {
            this.arraylist = arraylist;
        }

        public static class ArraylistBean {
            /**
             * pageSize : 10
             * shownumwidth : 5
             * totalCount : 2
             * totalPageCount : 1
             * currentPageNo : 1
             * nextPage : false
             * previousPage : false
             * showNumList : [1]
             * result : [{"id":4,"userId":1000539,"recoreTime":1503479406000,"dataType":"reduce","agoCount":99600,"afterCount":99500,"changeCount":100,"operationType":"convert","createTime":1503479406000,"updateTime":1503484719000,"deleted":0},{"id":3,"userId":1000539,"recoreTime":1503478643000,"dataType":"reduce","agoCount":99700,"afterCount":99600,"changeCount":100,"operationType":"convert","createTime":1503478643000,"updateTime":1503484716000,"deleted":0}]
             */

            private int pageSize;
            private int shownumwidth;
            private int totalCount;
            private int totalPageCount;
            private int currentPageNo;
            private boolean nextPage;
            private boolean previousPage;
            private List<Integer> showNumList;
            private List<ResultBean> result;

            public int getPageSize() {
                return pageSize;
            }

            public void setPageSize(int pageSize) {
                this.pageSize = pageSize;
            }

            public int getShownumwidth() {
                return shownumwidth;
            }

            public void setShownumwidth(int shownumwidth) {
                this.shownumwidth = shownumwidth;
            }

            public int getTotalCount() {
                return totalCount;
            }

            public void setTotalCount(int totalCount) {
                this.totalCount = totalCount;
            }

            public int getTotalPageCount() {
                return totalPageCount;
            }

            public void setTotalPageCount(int totalPageCount) {
                this.totalPageCount = totalPageCount;
            }

            public int getCurrentPageNo() {
                return currentPageNo;
            }

            public void setCurrentPageNo(int currentPageNo) {
                this.currentPageNo = currentPageNo;
            }

            public boolean isNextPage() {
                return nextPage;
            }

            public void setNextPage(boolean nextPage) {
                this.nextPage = nextPage;
            }

            public boolean isPreviousPage() {
                return previousPage;
            }

            public void setPreviousPage(boolean previousPage) {
                this.previousPage = previousPage;
            }

            public List<Integer> getShowNumList() {
                return showNumList;
            }

            public void setShowNumList(List<Integer> showNumList) {
                this.showNumList = showNumList;
            }

            public List<ResultBean> getResult() {
                return result;
            }

            public void setResult(List<ResultBean> result) {
                this.result = result;
            }

            public static class ResultBean {
                /**
                 * id : 4
                 * userId : 1000539
                 * recoreTime : 1503479406000
                 * dataType : reduce
                 * agoCount : 99600.0
                 * afterCount : 99500.0
                 * changeCount : 100.0
                 * operationType : convert
                 * createTime : 1503479406000
                 * updateTime : 1503484719000
                 * deleted : 0
                 */

                private int id;
                private int userId;
                private long recoreTime;
                private String dataType;
                private double agoCount;
                private double afterCount;
                private double changeCount;
                private String operationType;
                private long createTime;
                private long updateTime;
                private int deleted;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getUserId() {
                    return userId;
                }

                public void setUserId(int userId) {
                    this.userId = userId;
                }

                public long getRecoreTime() {
                    return recoreTime;
                }

                public void setRecoreTime(long recoreTime) {
                    this.recoreTime = recoreTime;
                }

                public String getDataType() {
                    return dataType;
                }

                public void setDataType(String dataType) {
                    this.dataType = dataType;
                }

                public double getAgoCount() {
                    return agoCount;
                }

                public void setAgoCount(double agoCount) {
                    this.agoCount = agoCount;
                }

                public double getAfterCount() {
                    return afterCount;
                }

                public void setAfterCount(double afterCount) {
                    this.afterCount = afterCount;
                }

                public double getChangeCount() {
                    return changeCount;
                }

                public void setChangeCount(double changeCount) {
                    this.changeCount = changeCount;
                }

                public String getOperationType() {
                    return operationType;
                }

                public void setOperationType(String operationType) {
                    this.operationType = operationType;
                }

                public long getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(long createTime) {
                    this.createTime = createTime;
                }

                public long getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(long updateTime) {
                    this.updateTime = updateTime;
                }

                public int getDeleted() {
                    return deleted;
                }

                public void setDeleted(int deleted) {
                    this.deleted = deleted;
                }
            }
        }
    }
}
